<template>
  <div id="home">
    <el-tabs v-model="activeName" tab-position="top">
      <el-tab-pane name="first" label="业务情况">
        <!-- 左侧栏 -->
        <Situation
          :reports="reports"
          :differences="differences"
          :excellents="excellents"
          :nbiots="nbiots"
          :roamIn="roamIn"
          :roamOut="roamOut"
          :roamSum="roamSum"
          @switch="Subculture"
        />
        <!-- 地图 -->
        <div id="main_box">
          <span class="mapname">当前显示:{{ mapName }}</span>
          <!-- <el-button size="mini" type="primary" @click="backMap()" class="btn">返回</el-button> -->
          <div id="main"></div>
        </div>
        <!-- 专题 -->
        <ImgBox />
        <!-- 趋势图 -->
        <Distribution
          ref="transmit"
          :touchTest="touchTest"
          :situationtitle="situationtitle"
        />
        <div class="total_box">
          <!-- 统计图 -->
          <div id="total"></div>
          <!-- 业务趋势图 -->
          <Trend
            ref="business"
            :touchTest="touchTest"
            :situationtitle="situationtitle"
          />
        </div>
      </el-tab-pane>
      <el-tab-pane name="second" label="网络质量">
        <!-- 左侧栏 -->
        <QualitySituation
          :reports="reports"
          :differences="differences"
          :excellents="excellents"
          :nbiots="nbiots"
          @switch="quality"
        />
        <!-- 地图 -->
        <div id="main_box">
          <span class="mapname">当前显示:{{ mapName }}</span>
          <!-- <el-button size="mini" type="primary" @click="backMap()" class="btn">返回</el-button> -->
          <div id="quality"></div>
        </div>
        <!-- 专题 -->
        <ImgBox />
        <!-- 趋势图 -->
        <QualityDistribution
          ref="Qualitytransmit"
          :touchTest="touchTest"
          :meshwork="meshwork"
        />
        <div class="total_box">
          <!-- 表格 -->
          <div id="quality_total">
            <div class="title">
              <h3>重点企业监控（{{ meshwork }}）</h3>
              <select @change="mapClick($event)">
                <option value="1">PDP/PDN激活成功率</option>
                <option value="2">DNS请求成功率</option>
                <option value="3">TCP请求成功率</option>
                <option value="4">TCP12成功率</option>
                <option value="5">HTTP请求成功率</option>
              </select>
            </div>
            <div class="mean_box">
              <div class="mean" @click="excellent">
                <img
                  src="../../assets/image/VectorIntelligentObject8.png"
                  alt
                />
                <div class="mean_title">
                  <p>高于均值企业</p>
                  <p>{{ excellentvalue }}</p>
                </div>
              </div>
              <div class="mean" @click="difference">
                <img
                  src="../../assets/image/VectorIntelligentObject6.png"
                  alt
                />
                <div class="mean_title">
                  <p>低于均值企业</p>
                  <p>{{ differencevalue }}</p>
                </div>
              </div>
            </div>
            <el-table
              :data="tableData"
              stripe
              style="background-color: transparent; margin: auto"
              height="27vh"
            >
              <el-table-column
                prop="num"
                label="序号"
                align="center"
                width="60px"
              ></el-table-column>
              <el-table-column
                prop="businessCode"
                label="企业名称"
                align="center"
              ></el-table-column>
              <el-table-column :label="tableName" align="center" :prop="value2">
                <template slot-scope="scope">
                  <span v-show="value2 == 'pdp_ask_success_rate'"
                    >{{ scope.row.pdp_ask_success_rate }}%</span
                  >
                  <span v-show="value2 == 'dns_ask_success_rate'"
                    >{{ scope.row.dns_ask_success_rate }}%</span
                  >
                  <span v-show="value2 == 'tcp_ask_success_rate'"
                    >{{ scope.row.tcp_ask_success_rate }}%</span
                  >
                  <span v-show="value2 == 'tcp12_success_rate'"
                    >{{ scope.row.tcp12_success_rate }}%</span
                  >
                  <span v-show="value2 == 'http_ask_success_rate'"
                    >{{ scope.row.http_ask_success_rate }}%</span
                  >
                  <!-- <el-progress v-show="value2 == 'pdp_ask_success_rate'" :percentage="scope.row.pdp_ask_success_rate-0"></el-progress>
                  <el-progress v-show="value2 == 'dns_ask_success_rate'" :percentage="scope.row.dns_ask_success_rate-0"></el-progress>
                  <el-progress v-show="value2 == 'tcp_ask_success_rate'" :percentage="scope.row.tcp_ask_success_rate-0"></el-progress>
                  <el-progress v-show="value2 == 'tcp12_success_rate'" :percentage="scope.row.tcp12_success_rate-0"></el-progress>
                  <el-progress v-show="value2 == 'http_ask_success_rate'" :percentage="scope.row.http_ask_success_rate-0"></el-progress>-->
                </template>
              </el-table-column>
            </el-table>
          </div>
          <!-- 业务趋势图 -->
          <QualityTrend
            ref="Qualitybusiness"
            :touchTest="touchTest"
            :meshwork="meshwork"
          />
        </div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script src="./Home.js"></script>

<style lang="scss">
#home {
  height: 95vh;
  background-color: #eef1f9;
  /*1.显示滚动条：当内容超出容器的时候，可以滚动。：*/
  .el-drawer__body {
    overflow: auto;
  }

  /*2.隐藏滚动条这里可以让右边的滚动条不显示*/
  .el-drawer__container ::-webkit-scrollbar {
    display: none;
  }
  .el-tabs__active-bar,
  .el-tabs__nav-wrap::after {
    display: none;
  }
  .el-tabs__header {
    margin: 0;
    position: absolute;
    top: 8vh;
    left: 1vw;
  }
  .el-tabs__nav {
    width: 15vw;
    height: 4vh;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    float: right;
  }
  .el-tabs__content {
    width: 100vw;
    height: 90vh;
    position: absolute;
    top: 8vh;

    /* 通用 */
    #trend .el-tabs__nav,
    #Distribution .el-tabs__nav,
    #QualityDistribution .el-tabs__nav,
    #situation .el-tabs__nav {
      width: auto;
      height: auto;
      display: block;
      float: left;
    }
    #trend .el-tabs__active-bar,
    #trend .el-tabs__nav-wrap::after,
    #situation .el-tabs__active-bar,
    #situation .el-tabs__nav-wrap::after,
    #QualityDistribution .el-tabs__active-bar,
    #QualityDistribution .el-tabs__nav-wrap::after,
    #Distribution .el-tabs__active-bar,
    #Distribution .el-tabs__nav-wrap::after {
      display: none;
    }
    #trend .el-tabs__header,
    #trend .el-tabs__content,
    #situation .el-tabs__header,
    #situation .el-tabs__content,
    #QualityDistribution .el-tabs__header,
    #QualityDistribution .el-tabs__content,
    #Distribution .el-tabs__header,
    #Distribution .el-tabs__content {
      position: relative;
      top: 0;
      left: 0;
    }

    #Distribution .el-tabs__header {
      margin: 0;
    }
    #Distribution .el-tabs__nav-scroll,
    #QualityDistribution .el-tabs__nav-scroll {
      width: auto;
      background-color: transparent;
    }
    #Distribution .el-tabs__item,
    #QualityDistribution .el-tabs__item {
      height: 4vh;
      width: auto;
      text-align: center;
    }
    #Distribution .el-tabs__item.is-active,
    #QualityDistribution .el-tabs__item.is-active {
      background: url("../../assets/image/shape1.png") no-repeat;
      background-size: 100% 100%;
      color: white;
    }
    #Distribution .el-tabs__content,
    #QualityDistribution .el-tabs__content {
      width: 53vw;
      height: 25vh;
      padding: 1vh 1vw;
      background-color: #edf1f9;
    }
    #Distribution .el-tabs__item,
    #QualityDistribution .el-tabs__item {
      height: 4vh;
      line-height: 4vh;
      padding: 0 10px !important;
      text-align: center;
      background: url("../../assets/image/shape12.png") no-repeat;
      background-size: 100% 100%;
      color: black;
    }
    #main,
    #quality {
      height: 50vh;
      width: 55vw;
    }
    .img_box {
      position: absolute;
      right: 0.5vw;
      
    .el-table {
      width: 95% !important;
      &::before {
        background-color: transparent;
      }
    }
    .el-table__body {
      width: 100.05% !important;
    }
    .el-table th {
      color: black;
      background-color: #e7f7ff;
      border-bottom: 1px solid #e7f7ff;
    }
    .el-table td {
      color: black;
      border: 1px solid #ffffff;
      background-color: #ffffff;
    }
    .el-table__empty-block {
      height: 0 !important;
      background-color: #ffffff;
    }
    // 滚动条
    .el-table__body-wrapper::-webkit-scrollbar {
      width: 5px;
      height: 5px;
    }
    .el-table__body-wrapper::-webkit-scrollbar-thumb {
      background-color: #ddd;
      border-radius: 3px;
    }
    .current-row {
      background-color: #ECF5FF;
      td {
        background-color: transparent;
      }
    }
    }
    // 左侧栏
    #situation {
      .el-tabs__nav-scroll {
        width: 2vw;
        background-color: transparent;
      }
      .el-tabs__content {
        width: 15vw;
        height: 85.5vh;
      }
      .el-tabs--left {
        width: 17vw;
      }
      .el-tabs--left .el-tabs__item.is-left {
        width: 2vw;
        height: 7.5vh;
        line-height: 2.8vh;
        writing-mode: vertical-rl;
        text-align: center;
        margin-bottom: 1vh;
        background: url("../../assets/image/shape11.png") no-repeat;
        background-size: 400% 100%;
      }
      .el-tabs__item {
        padding: 0;
      }
      .el-tab-pane {
        height: 85.5vh;
        padding: 0.5vw 0.5vh;
        background-color: #edf1f9;
        border: 1px solid #bbe3fd;
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-evenly;
      }
      .el-tabs--left .el-tabs__header.is-left {
        margin-right: 0;
      }
    }
    /* 地图 */
    #main_box {
      position: absolute;
      top: 0vh;
      left: 20vw;
      background-color: #edf1f9;
      .mapname {
        font-size: 18px;
        font-weight: bold;
        color: #409eff;
        position: absolute;
        z-index: 5;
      }
      .btn {
        position: absolute;
        right: 3vw;
        top: 2vh;
        z-index: 5;
      }
    }
    /* 滚动趋势图 */
    #Distribution {
      width: 55vw;
      position: absolute;
      bottom: 0vh;
      left: 20vw;
    }
    // 趋势图
    .total_box {
      background-color: #edf1f9;
      padding: 5px 5px;
      position: absolute !important;
      top: 10vh;
      right: 0.5vw;
      /* 统计图 */
      #total {
        width: 22vw;
        height: 40vh;
        background-color: #edf1f9;
        border: 1px solid #004fe5;
        margin-bottom: 10px;
      }
      /* 表格 */
      #quality_total {
        width: 21vw;
        height: 39vh;
        padding: 0.5vh 0.5vw;
        background-color: #edf1f9;
        border: 1px solid #004fe5;
        margin-bottom: 10px;
        .el-table th {
          color: black;
        }
        .el-table__body {
          width: 100.05% !important;
        }
        /*滚动条的宽度*/
        .el-table__body-wrapper::-webkit-scrollbar {
          width: 5px;
          height: 5px;
        }
        /*滚动条滑块*/
        .el-table__body-wrapper::-webkit-scrollbar-thumb {
          background-color: #ddd;
          border-radius: 3px;
        }
        .title {
          width: 21vw;
          height: 5vh;
          display: flex;
          flex-flow: row nowrap;
          justify-content: space-between;
          align-items: center;
          h3 {
            font-size: 15px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
            color: #7ecaff;
          }
          select {
            font-size: 17px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
            color: #000000;
          }
        }
        .mean_box {
          width: 21vw;
          height: 7vh;
          display: flex;
          flex-flow: row nowrap;
          justify-content: space-between;
          .mean {
            width: 10vw;
            height: 7vh;
            background: url("../../assets/image/shape34.png") no-repeat;
            background-size: 100% 100%;
            display: flex;
            flex-flow: row nowrap;
            justify-content: space-around;
            align-items: center;
            .mean_title {
              font-size: 16px;
              font-family: Microsoft YaHei, Microsoft YaHei-Regular;
              font-weight: bold;
              p:nth-child(2) {
                color: #377dff;
                font-weight: bold;
              }
            }
          }
        }
      }
      /* 业务趋势图 */
      #trend {
        padding: 1vh 0.5vw;
        width: 21vw;
        background-color: #eef1f9;
        border: 1px solid #004fe5;

        .el-tabs__nav-scroll {
          width: 20vw;
          background-color: transparent;
        }
        .el-tabs__header {
          margin: 0;
        }
        .el-tabs__item {
          height: 4vh;
          width: auto;
          text-align: center;
        }
        .el-tabs__content {
          width: 20vw;
          height: 29vh;
          padding: 1vh 1vw;
        }
        .el-tabs__item.is-top {
          color: black;
          background: url("../../assets/image/shape2_1.png") no-repeat;
          background-size: 100% 100%;
          padding: 0 10px;
        }
        .el-tabs__item.is-active {
          color: white;
          background: url("../../assets/image/shape1.png") no-repeat;
          background-size: 100% 100%;
        }
      }
    }
  }
  .el-tabs__nav-scroll {
    width: 17vw;
    background-color: #edf1f9;
  }
  .el-tabs__item {
    width: 6vw;
    height: 4vh;
    padding: 0;
    text-align: center;
    background: url("../../assets/image/shape11.png") no-repeat;
    background-size: 100% 100%;
  }
  .el-tabs__item.is-active {
    background: url("../../assets/image/shape1.png") no-repeat;
    background-size: 100% 100%;
    color: white;
  }
}

#mainmenu {
  position: absolute;
  top: 6vh;
  left: 14.5vw;
  height: 4vh;
  width: 8vw;
  color: #259cc0;
  font-size: 15px;
  font-weight: 500;
  padding-left: 1vw;
  background-color: transparent;
}
#mainmenu option {
  background-color: #01080e;
}

.data_box {
  width: 55vw;
  position: absolute;
  left: 20vw;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  .data_title {
    width: 10vw;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    &:nth-child(1) .data p:nth-child(2) {
      color: #1debd5;
    }
    &:nth-child(2) .data p:nth-child(2) {
      color: #eedc11;
    }
    &:nth-child(3) .data p:nth-child(2) {
      color: #22ef35;
    }
    img {
      width: 60px;
      height: 60px;
      margin-right: 2px;
    }
    .data {
      p:nth-child(1) {
        font-size: 32px;
        font-family: Microsoft YaHei, Microsoft YaHei-Regular;
        font-weight: bold;
        text-align: left;
      }
      p:nth-child(2) {
        font-size: 20px;
        font-family: Microsoft YaHei, Microsoft YaHei-Regular;
        font-weight: bold;
        text-align: left;
      }
    }
  }
}

.quality_data p:nth-child(1) {
  font-size: 32px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: bold;
  text-align: left;
}
.data_title .quality_data p:nth-child(2) {
  font-size: 20px;
  font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  font-weight: bold;
  text-align: left;
}
.data_title:nth-child(1) .quality_data p:nth-child(2) {
  color: #0174dc;
}
.data_title:nth-child(2) .quality_data p:nth-child(2) {
  color: #1debd5;
}
.data_title:nth-child(3) .quality_data p:nth-child(2) {
  color: #eedc11;
}

#situation .el-tabs__item.is-active {
  background: url("../../assets/image/shape1.png") no-repeat !important;
  background-size: 400% 100% !important;
}
#Distribution .el-tabs__item.is-active:hover,
#trend .el-tabs__item.is-active:hover,
#situation .el-tabs__item.is-active:hover {
  color: white;
}
#Distribution .el-tabs__item:hover,
#trend .el-tabs__item:hover,
#situation .el-tabs__item:hover {
  color: #409eff;
  cursor: pointer;
}
@media screen and (max-width: 1366px) {
  #home {
    height: 94vh;
    /* 通用 */
    #trend .el-tabs__nav,
    #Distribution .el-tabs__nav,
    #QualityDistribution .el-tabs__nav,
    #situation .el-tabs__nav {
      width: auto;
      height: auto;
      display: block;
      float: left;
    }
    #home .el-tabs__active-bar,
    #home .el-tabs__nav-wrap::after,
    #trend .el-tabs__active-bar,
    #trend .el-tabs__nav-wrap::after,
    #situation .el-tabs__active-bar,
    #situation .el-tabs__nav-wrap::after,
    #QualityDistribution .el-tabs__active-bar,
    #QualityDistribution .el-tabs__nav-wrap::after,
    #Distribution .el-tabs__active-bar,
    #Distribution .el-tabs__nav-wrap::after {
      display: none;
    }
    #trend .el-tabs__header,
    #trend .el-tabs__content,
    #situation .el-tabs__header,
    #situation .el-tabs__content,
    #QualityDistribution .el-tabs__header,
    #QualityDistribution .el-tabs__content,
    #Distribution .el-tabs__header,
    #Distribution .el-tabs__content {
      position: relative;
      top: 0;
      left: 0;
    }
    .el-tabs__header {
      margin: 0;
      position: absolute;
      top: 8vh;
      left: 1vw;
    }
    .el-tabs__nav {
      width: 15vw;
      height: 4vh;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      float: right;
    }
    .el-tabs__content {
      width: 100vw;
      height: 90vh;
      position: absolute;
      top: 8vh;
    }
    .el-tabs__nav-scroll {
      width: 17vw;
      background-color: #edf1f9;
    }
    .el-tabs__item {
      width: 6vw;
      height: 4vh;
      line-height: 4vh;
      padding: 0;
      text-align: center;
      background: url("../../assets/image/shape11.png") no-repeat;
      background-size: 100% 100%;
    }
    .el-tabs__item.is-active {
      background: url("../../assets/image/shape1.png") no-repeat;
      background-size: 100% 100%;
      color: white;
    }
  }
  /* 趋势图 */
  #situation {
    .el-tabs__nav-scroll {
      width: 2vw;
      background-color: transparent;
    }
    .el-tabs__content {
      width: 15vw;
      height: 85.5vh;
    }
    .el-tabs--left {
      width: 17vw;
    }
    .el-tabs--left .el-tabs__item.is-left {
      width: 2vw;
      height: 7.5vh;
      line-height: 2.8vh;
      writing-mode: vertical-rl;
      text-align: center;
      margin-bottom: 1vh;
      background: url("../../assets/image/shape11.png") no-repeat;
      background-size: 400% 100%;
    }
    .el-tabs__item {
      padding: 0;
    }
    .el-tab-pane {
      height: 85.5vh;
      padding: 0.5vw 0.5vh;
      background-color: #edf1f9;
      border: 1px solid #bbe3fd;
      display: flex;
      flex-flow: column nowrap;
      justify-content: space-evenly;
    }
    .el-tabs__item.is-active {
      /* color: black !important; */
      background: url("../../assets/image/shape1.png") no-repeat;
      background-size: 400% 100%;
    }
    .el-tabs__item:hover {
      color: black;
      cursor: pointer;
    }
    .el-tabs--left .el-tabs__header.is-left {
      margin-right: 0;
    }
  }
  .total_box {
    background-color: #edf1f9;
    padding: 5px 5px;
    position: absolute !important;
    top: 10vh;
    right: 0.5vw;
    /* 统计图 */
    #total {
      width: 22vw;
      height: 40vh;
      background-color: #edf1f9;
      border: 1px solid #004fe5;
      margin-bottom: 10px;
    } /* 表格 */
    #quality_total {
      width: 21vw;
      height: 39vh;
      padding: 0.5vh 0.5vw;
      background-color: #edf1f9;
      border: 1px solid #004fe5;
      margin-bottom: 10px;
      .title {
        width: 21vw;
        height: 5vh;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        h3 {
          font-size: 12px;
          font-family: Microsoft YaHei, Microsoft YaHei-Regular;
          font-weight: bold;
          text-align: left;
          color: #7ecaff;
        }
        select {
          font-size: 14px;
          font-family: Microsoft YaHei, Microsoft YaHei-Regular;
          font-weight: bold;
          text-align: left;
          color: #000000;
        }
      }
      .mean_box {
        width: 21vw;
        height: 7vh;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        .mean {
          width: 10vw;
          height: 7vh;
          background: url("../../assets/image/shape34.png") no-repeat;
          background-size: 100% 100%;
          display: flex;
          flex-flow: row nowrap;
          justify-content: space-around;
          align-items: center;
          .mean_title {
            p {
              &:nth-child(1) {
                font-size: 13px;
                font-family: Microsoft YaHei, Microsoft YaHei-Regular;
                font-weight: bold;
              }
              :nth-child(2) {
                color: #377dff;
                font-size: 16px;
                font-family: Microsoft YaHei, Microsoft YaHei-Regular;
                font-weight: bold;
              }
            }
          }
        }
      }
      .el-table th {
        color: black;
      }
      .el-table__body {
        width: 21vw;
      }
      /*滚动条的宽度*/
      .el-table__body-wrapper::-webkit-scrollbar {
        width: 5px;
        height: 5px;
      }
      /*滚动条滑块*/
      .el-table__body-wrapper::-webkit-scrollbar-thumb {
        background-color: #ddd;
        border-radius: 3px;
      }
    }
    /* 业务趋势图 */
    #QualityDistribution,
    #Distribution,
    #trend {
      padding: 1vh 0.5vw;
      width: 21vw;
      background-color: #edf1f9;
      border: 1px solid #004fe5;
      .el-tabs__nav-scroll {
        width: 20vw;
        background-color: transparent;
      }
      .el-tabs__header {
        margin: 0;
      }
      .el-tabs__item {
        height: 4vh;
        width: auto;
        text-align: center;
      }
    }
  }
  #trend {
    .el-tabs__content {
      width: 20vw;
      height: 29vh;
      padding: 1vh 1vw;
    }
    .el-tabs__item.is-top {
      font-size: 12px;
      color: black;
      background: url("../../assets/image/shape2_1.png") no-repeat;
      background-size: 100% 100%;
      padding: 0 5px;
    }
    .el-tabs__item.is-active {
      color: white;
      background: url("../../assets/image/shape1.png") no-repeat;
      background-size: 100% 100%;
    }
  }
  #QualityDistribution,
  #Distribution {
    width: 55vw;
    position: absolute;
    bottom: 0vh;
    left: 20vw;
    .el-tabs__header {
      margin: 0;
    }
    .el-tabs__nav-scroll {
      width: auto;
      background-color: transparent;
    }
    .el-tabs__item {
      height: 4vh;
      width: auto;
      text-align: center;
    }
    .el-tabs__item.is-active {
      background: url("../../assets/image/shape1.png") no-repeat;
      background-size: 100% 100%;
      color: white;
    }
    .el-tabs__content {
      width: 53vw;
      height: 25vh;
      padding: 1vh 1vw;
      background-color: #edf1f9;
    }
    .el-tabs__item {
      height: 4vh;
      line-height: 4vh;
      padding: 0 10px !important;
      text-align: center;
      background: url("../../assets/image/shape12.png") no-repeat;
      background-size: 100% 100%;
      color: black;
    }
  }
  /* 地图 */
  #main_box {
    position: absolute;
    top: 0;
    left: 20vw;
    background-color: #edf1f9;
    #main,
    #quality {
      height: 50vh;
      width: 55vw;
    }
    .btn {
      position: absolute;
      right: 3vw;
      top: 2vh;
      z-index: 5;
    }
  }
  // #mainmenu {
  //   position: absolute;
  //   top: 6vh;
  //   left: 14.5vw;
  //   height: 4vh;
  //   width: 8vw;
  //   color: #259cc0;
  //   font-size: 15px;
  //   font-weight: 500;
  //   padding-left: 1vw;
  //   background-color: transparent;
  // }
  // #mainmenu option {
  //   background-color: #01080e;
  // }

  .data_box {
    width: 55vw;
    position: absolute;
    left: 20vw;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    .data_title {
      width: 10vw;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      img {
        width: 60px;
        height: 60px;
        margin-right: 2px;
      }
      .data {
        p {
          &:nth-child(1) {
            font-size: 30px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
          }
          &:nth-child(2) {
            font-size: 16px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
          }
        }
      }
      .quality_data {
        p {
          &:nth-child(1) {
            font-size: 30px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
          }
          &:nth-child(2) {
            font-size: 16px;
            font-family: Microsoft YaHei, Microsoft YaHei-Regular;
            font-weight: bold;
            text-align: left;
          }
        }
      }
      &:nth-child(1) .data p:nth-child(2) {
        color: #1debd5;
      }
      &:nth-child(2) .data p:nth-child(2) {
        color: #eedc11;
      }
      &:nth-child(3) .data p:nth-child(2) {
        color: #22ef35;
      }
      &:nth-child(1) .quality_data p:nth-child(2) {
        color: #0174dc;
      }
      &:nth-child(2) .quality_data p:nth-child(2) {
        color: #1debd5;
      }
      &:nth-child(3) .quality_data p:nth-child(2) {
        color: #eedc11;
      }
    }
  }
}
</style>